<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			{{movies}}
			<ul>
				<li v-for="item in movies">{{item}}</li>
			</ul>
		</div>
	</body>
	<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		const app = new Vue({
			el:"#app",
			data:{
				message:'你好啊',
				movies:[
					'当幸福来敲门',
					'大话西游',
					'幸福生活'
				]
			}
		})
		// 在控制台上动态添加数据
		//app.movies.push("哈利波特")
	</script>
</html>
